package com.hrms.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hrms.pojo.AttenManage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hrms.pojo.AttendInfo;
import com.hrms.pojo.EchartsData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LK
 * @since 2021-10-19
 */
public interface AttenManageMapper extends BaseMapper<AttenManage> {
	////动态查询
	//Page<AttenManage> selectByCon(@Param("p") Page p, @Param("a") AttenManage a);
	 Integer queryLateByMonth(@Param("month") Integer month);
	 Integer queryLeaveByMonth(@Param("month") Integer month);

	int deleteByStaffId(Integer a);
}
